The Tab View Component > FTabView.removeAll()

 

FTabView.removeAll()

Availability

Flash Player 6.

Usage

myTab_tbv.removeAll ()

Parameters

None

Returns

Nothing

Description

Removes all tabs from the component. Any data associated with the individual tabs will be lost.

Example

The following code adds two tabs to the components, removes them, and then traces the length.

myTab_tbv.addItem( "Tab1" );
myTab_tbv.addItem( "Tab2" );
myTab_tbv.removeAll( );
trace( "Length: " + myTab_tbv.getLength( ) ); //traces "Length: 0"

See also

FTabView.removeItemAt()